2 Scenarios > 2.11 SMS > 2.11.3 Deleting SMS

2.11.3
This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropri­ate buttons on the toolbar.
2.11.3.1
This chapter describes all the steps required to delete a short message from the preferred memory chosen by the init setting (using AT+CPMS).
The AT+CMGL command can be used optionally before deleting the SMS.
2.11.3.2
For further details about the commands see [2].
2.11.3.3
Figure 79: Deleting SMS
2.11.3.4
•
•
•
•
2.11.3.5
***************************************
Comment: Deleting SMS
***************************************
***************************************
Comment: List SMS with all statuses (PDU mode)
***************************************
 
Subscr 1 Send: AT+CMGL=4
Subscr 1 Receive: AT+CMGL=4
Subscr 1 Receive: +CMGL: 6,2,,30
Subscr 1 Receive: 0011000A9171798762130000A713C8329BFD6681D0EF3B282C2F83F2EFFA0F
Subscr 1 Receive: +CMGL: 11,1,,36
Subscr 1 Receive: 0791947106004013240C9194715982699000003080413115748013C8329BFD6681D0E
F3B282C2F83F2EFFA0F
Subscr 1 Receive:
Subscr 1 Receive: OK
 
***************************************
Comment: Delete SMS at index 1
***************************************
 
Subscr 1 Send: AT+CMGD=1
Subscr 1 Receive: AT+CMGD=1
Subscr 1 Receive: OK